package com.wanmait.wisdom.manage.controller;


import com.wanmait.wisdom.manage.service.ManageHouseStateService;
import com.wanmait.wisdom.util.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController()
@RequestMapping("manage")
public class ManageHouseStateController {

    @Resource
    private ManageHouseStateService manageHouseStateService;

    @GetMapping("findHouseStateOptions")
    public AjaxResult findHouseStateOptions(){
        return AjaxResult.success().put("findHouseStateOptions",manageHouseStateService.findHouseStateOptions());
    }
}
